package com.ck.ips.service.program;

import com.ck.common.model.MonitorDataFile;
import com.ck.core.exception.ServiceException;

import java.io.IOException;
import java.text.ParseException;
import java.util.List;
/**
 * 监播数据（素材）Service
 *
 * @author dxy
 * @date 2019/5/8 10:28
 */
public interface MonitorDataFileService {
	/**
	 * 批量插入
	 *
	 * @param monitorDataFileList List<MonitorDataFile>
	 */
	void insertBatch(List<MonitorDataFile> monitorDataFileList);

	/***
	 * 获取素材的实时播放次数和播放时长
	 *
	 * @param deviceCode     终端编码
	 * @return String(JSON格式字符串)
	 * @throws ParseException
	 * @throws IOException
	 * @throws ServiceException
	 */
	String getFileRealTimePlayNumDuration(String deviceCode) throws ParseException, IOException, ServiceException;
}
